// Jesse Phillips
// 5-24-04
// Sales Discount for cosco imployees

public class SalesDiscount
{
	public static void main(String[]args)
	{
		double SalesAmount;
		
		SalesAmount = Typeit.inDouble("How much does it cost?");
		
		/* Please provide an answer to the question */
		/*ans bl*/
		if (SalesAmount <= 100)
		{
			System.out.println("Your discount is $"+(SalesAmount*.1)+".");
		}
		else if ((SalesAmount > 100) && (SalesAmount <= 200))
		{
			System.out.println("Your discount is $"+(SalesAmount*.2)+".");
		}
		else
		{
			System.out.println("You are spending over $300, Your discount is $"+(SalesAmount*.3)+".");
		}
		/*ans ab*/
	}
}
